package com.wuliu.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.wuliu.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.wuliu.common.core.domain.BaseEntity;

/**
 * 平台全国省市区县地址库对象 sys_district
 * 
 * @author realue
 * @date 2023-10-24
 */
@ApiModel
public class SysDistrict extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 ID */
    @ApiModelProperty(value = "${comment}")
    private String id;

    /** 编号 */
    @Excel(name = "编号")
    @ApiModelProperty(value = "编号")
    private Integer dcId;

    /** 上级编号 */
    @Excel(name = "上级编号")
    @ApiModelProperty(value = "上级编号")
    private Integer dcPId;

    /** 名称 */
    @Excel(name = "名称")
    @ApiModelProperty(value = "名称")
    private String name;

    /** 全路径名称 */
    @Excel(name = "全路径名称")
    @ApiModelProperty(value = "全路径名称")
    private String mergerName;

    /** 层级 0: 省  1: 市  2: 区/县 3:乡镇/街道 */
    @Excel(name = "层级 0: 省  1: 市  2: 区/县 3:乡镇/街道")
    @ApiModelProperty(value = "层级 0: 省  1: 市  2: 区/县 3:乡镇/街道")
    private Integer levelType;

    /** 区号 */
    @Excel(name = "区号")
    @ApiModelProperty(value = "区号")
    private String cityCode;

    /** 邮编 */
    @Excel(name = "邮编")
    @ApiModelProperty(value = "邮编")
    private String zipCode;

    /** 拼音 */
    @Excel(name = "拼音")
    @ApiModelProperty(value = "拼音")
    private String pinyin;

    /** 首字母 */
    @Excel(name = "首字母")
    @ApiModelProperty(value = "首字母")
    private String firstChar;

    /** 纬度 */
    @Excel(name = "纬度")
    @ApiModelProperty(value = "纬度")
    private String lng;

    /** 经度 */
    @Excel(name = "经度")
    @ApiModelProperty(value = "经度")
    private String lag;

    /** 创建时间 */
    @Excel(name = "创建时间")
    @ApiModelProperty(value = "创建时间")
    private String createDt;

    /** 编号 */
    @Excel(name = "编号")
    @ApiModelProperty(value = "编号")
    private String extId;

    /** 简称 */
    @Excel(name = "简称")
    @ApiModelProperty(value = "简称")
    private String shortName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setDcId(Integer dcId) 
    {
        this.dcId = dcId;
    }

    public Integer getDcId() 
    {
        return dcId;
    }
    public void setDcPId(Integer dcPId) 
    {
        this.dcPId = dcPId;
    }

    public Integer getDcPId() 
    {
        return dcPId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setMergerName(String mergerName) 
    {
        this.mergerName = mergerName;
    }

    public String getMergerName() 
    {
        return mergerName;
    }
    public void setLevelType(Integer levelType) 
    {
        this.levelType = levelType;
    }

    public Integer getLevelType() 
    {
        return levelType;
    }
    public void setCityCode(String cityCode) 
    {
        this.cityCode = cityCode;
    }

    public String getCityCode() 
    {
        return cityCode;
    }
    public void setZipCode(String zipCode) 
    {
        this.zipCode = zipCode;
    }

    public String getZipCode() 
    {
        return zipCode;
    }
    public void setPinyin(String pinyin) 
    {
        this.pinyin = pinyin;
    }

    public String getPinyin() 
    {
        return pinyin;
    }
    public void setFirstChar(String firstChar) 
    {
        this.firstChar = firstChar;
    }

    public String getFirstChar() 
    {
        return firstChar;
    }
    public void setLng(String lng) 
    {
        this.lng = lng;
    }

    public String getLng() 
    {
        return lng;
    }
    public void setLag(String lag) 
    {
        this.lag = lag;
    }

    public String getLag() 
    {
        return lag;
    }
    public void setCreateDt(String createDt) 
    {
        this.createDt = createDt;
    }

    public String getCreateDt() 
    {
        return createDt;
    }
    public void setExtId(String extId) 
    {
        this.extId = extId;
    }

    public String getExtId() 
    {
        return extId;
    }
    public void setShortName(String shortName) 
    {
        this.shortName = shortName;
    }

    public String getShortName() 
    {
        return shortName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dcId", getDcId())
            .append("dcPId", getDcPId())
            .append("name", getName())
            .append("mergerName", getMergerName())
            .append("levelType", getLevelType())
            .append("cityCode", getCityCode())
            .append("zipCode", getZipCode())
            .append("pinyin", getPinyin())
            .append("firstChar", getFirstChar())
            .append("lng", getLng())
            .append("lag", getLag())
            .append("createDt", getCreateDt())
            .append("remark", getRemark())
            .append("extId", getExtId())
            .append("shortName", getShortName())
            .toString();
    }
}
